package com.company.shop.dao;

import java.sql.SQLException;

import org.junit.jupiter.api.Test;

import com.company.shop.pojo.User;

import junit.framework.TestCase;

public class TestDemo {

	@Test
	public void test1() throws SQLException
	{
		IUserDAO dao = new UserDAOImpl();
		User u = dao.login("zhangsan", "123456");
		// 断言是否为空
		TestCase.assertNotNull(u);
		
	}
}
